#include "gameloc.h"
#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

    Gameloc *window;

    if( a.arguments().count() <= 1)
        window = new Gameloc(false, "...");
    else
    {
        QString arg = a.arguments().at(1);
        arg.replace('\\', '/');

        window = new Gameloc(true, arg);
    }
    window->setAnimated(true);

    return a.exec();
}
